import 'package:get/get.dart';
import 'package:pet_app/views/article/article_detail/binding.dart';
import 'package:pet_app/views/article/article_detail/view.dart';
import 'package:pet_app/views/article/binding.dart';
import 'package:pet_app/views/article/view.dart';
import 'package:pet_app/views/breed_group/binding.dart';
import 'package:pet_app/views/breed_group/view.dart';
import 'package:pet_app/views/breed_search/binding.dart';
import 'package:pet_app/views/breed_search/view.dart';
import 'package:pet_app/views/card_swiper/binding.dart';
import 'package:pet_app/views/card_swiper/view.dart';
import 'package:pet_app/views/menu_panel/binding.dart';
import 'package:pet_app/views/menu_panel/view.dart';

class AppRoutes {
  static String appMain = '/app_main';
  static String menuPanel = '/menu_panel';
  static String cardSwiper = '/card_swiper';
  static String breedGroup = '/breed_group';
  static String article = '/article';
  static String articleDetail = '/article_detail';
  static String breedSearch = '/breed_search';

  static List<GetPage> routes = [
    /// 主页面
    // GetPage(name: appMain, page: () => TabbarPage(), binding: TabbarBinding()),
    GetPage(
        name: menuPanel,
        page: () => MenuPanelPage(),
        binding: MenuPanelBinding()),

    GetPage(
        name: cardSwiper,
        page: () => CardSwiperPage(),
        binding: CardSwiperBinding()),

    GetPage(
        name: breedGroup,
        page: () => BreedGroupPage(),
        binding: BreedGroupBinding()),

    GetPage(
        name: article, page: () => ArticlePage(), binding: ArticleBinding()),

    GetPage(
        name: articleDetail,
        page: () => ArticleDetailPage(),
        binding: ArticleDetailBinding()),

    GetPage(
        name: breedSearch,
        page: () => BreedSearchPage(),
        binding: BreedSearchBinding()),
  ];
}
